FROM java:8-alpine
VOLUME /tmp
ADD target/demo-1.0-SNAPSHOT.jar app.jar
RUN apk add --update ttf-dejavu fontconfig
EXPOSE 8080
ENTRYPOINT ["java","-server","-Duser.timezone=Asia/Shanghai","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]